#Boa:Frame:Frame1

import wx
import sys

def create(parent):
    return Frame1(parent)

[wxID_FRAME1, wxID_FRAME1BUTTON1, wxID_FRAME1BUTTON2, wxID_FRAME1CB_1, 
 wxID_FRAME1CB_2, wxID_FRAME1CB_3, wxID_FRAME1CHOICE_COM1, 
 wxID_FRAME1CHOICE_COM2, wxID_FRAME1CHOICE_COM3, wxID_FRAME1LIST, 
 wxID_FRAME1PANEL1, wxID_FRAME1STATICLINE2, wxID_FRAME1STATICTEXT1, 
 wxID_FRAME1STATICTEXT2, wxID_FRAME1STATICTEXT3, wxID_FRAME1STATICTEXT4, 
 wxID_FRAME1TC_NUM1_END, wxID_FRAME1TC_NUM1_START, wxID_FRAME1TC_NUM2_END, 
 wxID_FRAME1TC_NUM2_START, wxID_FRAME1TC_NUM3_END, wxID_FRAME1TC_NUM3_START, 
 wxID_FRAME1TOOLBAR1, 
] = [wx.NewId() for _init_ctrls in range(23)]

data = [("1", "OK", "shentong", "1212121", "Message...")]
class Frame1(wx.Frame):
    def _init_coll_list_Columns(self, parent):
        # generated method, don't edit

        parent.InsertColumn(col=0, format=wx.LIST_FORMAT_RIGHT,
              heading=u'\u5e8f\u53f7', width=50)
        parent.InsertColumn(col=1, format=wx.LIST_FORMAT_CENTRE,
              heading=u'\u72b6\u6001', width=80)
        parent.InsertColumn(col=2, format=wx.LIST_FORMAT_CENTRE,
              heading=u'\u5feb\u9012', width=100)
        parent.InsertColumn(col=3, format=wx.LIST_FORMAT_CENTRE,
              heading=u'\u5355\u53f7', width=120)
        parent.InsertColumn(col=4, format=wx.LIST_FORMAT_CENTRE,
              heading=u'\u4fe1\u606f', width=(834 - 50 - 80 -100-120))

    def add_list_row(self, idx, data_row):
        index = self.list.InsertStringItem(sys.maxint, str(idx))
        for col, text in enumerate(data_row):
            self.list.SetStringItem(index, col+1, text)
    
    def add_list_rows(self, data_rows):
        for index, row in enumerate(data_rows):
            self.add_list_row(index, row)

    def _init_ctrls(self, prnt):
        # generated method, don't edit
        wx.Frame.__init__(self, id=wxID_FRAME1, name='', parent=prnt,
              pos=wx.Point(370, 52), size=wx.Size(842, 614),
              style=wx.DEFAULT_FRAME_STYLE, title='Frame1')
        self.SetClientSize(wx.Size(834, 580))

        self.staticLine2 = wx.StaticLine(id=wxID_FRAME1STATICLINE2,
              name='staticLine2', parent=self, pos=wx.Point(0, 48),
              size=wx.Size(720, 2), style=0)

        self.panel1 = wx.Panel(id=wxID_FRAME1PANEL1, name='panel1', parent=self,
              pos=wx.Point(0, 32), size=wx.Size(832, 152),
              style=wx.TAB_TRAVERSAL)

        self.staticText1 = wx.StaticText(id=wxID_FRAME1STATICTEXT1,
              label=u'\u5feb\u9012\u516c\u53f8', name='staticText1',
              parent=self.panel1, pos=wx.Point(88, 8), size=wx.Size(48, 14),
              style=0)

        self.staticText2 = wx.StaticText(id=wxID_FRAME1STATICTEXT2,
              label=u'\u5355\u53f7-\u5f00\u59cb', name='staticText2',
              parent=self.panel1, pos=wx.Point(328, 8), size=wx.Size(52, 14),
              style=0)

        self.staticText4 = wx.StaticText(id=wxID_FRAME1STATICTEXT4,
              label=u'\u5355\u53f7-\u7ed3\u675f', name='staticText4',
              parent=self.panel1, pos=wx.Point(544, 8), size=wx.Size(52, 14),
              style=0)

        self.cb_1 = wx.CheckBox(id=wxID_FRAME1CB_1, label=u'', name=u'cb_1',
              parent=self.panel1, pos=wx.Point(24, 32), size=wx.Size(16, 14),
              style=0)
        self.cb_1.SetValue(True)
        self.cb_1.Bind(wx.EVT_CHECKBOX, self.onCB1_click, id=wxID_FRAME1CB_1)

        self.choice_com1 = wx.Choice(choices=[], id=wxID_FRAME1CHOICE_COM1,
              name=u'choice_com1', parent=self.panel1, pos=wx.Point(56, 24),
              size=wx.Size(130, 22), style=0)

        self.tc_num1_start = wx.TextCtrl(id=wxID_FRAME1TC_NUM1_START,
              name=u'tc_num1_start', parent=self.panel1, pos=wx.Point(272, 24),
              size=wx.Size(152, 22), style=0, value=u'768166348814')

        self.tc_num1_end = wx.TextCtrl(id=wxID_FRAME1TC_NUM1_END,
              name=u'tc_num1_end', parent=self.panel1, pos=wx.Point(504, 24),
              size=wx.Size(144, 22), style=0, value=u'768166348814')

        self.choice_com2 = wx.Choice(choices=[], id=wxID_FRAME1CHOICE_COM2,
              name=u'choice_com2', parent=self.panel1, pos=wx.Point(56, 56),
              size=wx.Size(130, 22), style=0)

        self.tc_num2_start = wx.TextCtrl(id=wxID_FRAME1TC_NUM2_START,
              name=u'tc_num2_start', parent=self.panel1, pos=wx.Point(272, 56),
              size=wx.Size(152, 22), style=0, value=u'')

        self.tc_num2_end = wx.TextCtrl(id=wxID_FRAME1TC_NUM2_END,
              name=u'tc_num2_end', parent=self.panel1, pos=wx.Point(504, 56),
              size=wx.Size(144, 22), style=0, value=u'')

        self.cb_2 = wx.CheckBox(id=wxID_FRAME1CB_2, label=u'', name=u'cb_2',
              parent=self.panel1, pos=wx.Point(24, 64), size=wx.Size(16, 14),
              style=0)
        self.cb_2.SetValue(False)
        self.cb_2.Bind(wx.EVT_CHECKBOX, self.onCB2_click, id=wxID_FRAME1CB_2)

        self.cb_3 = wx.CheckBox(id=wxID_FRAME1CB_3, label=u'', name=u'cb_3',
              parent=self.panel1, pos=wx.Point(24, 96), size=wx.Size(16, 14),
              style=0)
        self.cb_3.SetValue(True)
        self.cb_3.Bind(wx.EVT_CHECKBOX, self.onCB3_click, id=wxID_FRAME1CB_3)

        self.choice_com3 = wx.Choice(choices=[], id=wxID_FRAME1CHOICE_COM3,
              name=u'choice_com3', parent=self.panel1, pos=wx.Point(56, 88),
              size=wx.Size(130, 22), style=0)

        self.tc_num3_start = wx.TextCtrl(id=wxID_FRAME1TC_NUM3_START,
              name=u'tc_num3_start', parent=self.panel1, pos=wx.Point(272, 88),
              size=wx.Size(152, 22), style=0, value=u'')

        self.tc_num3_end = wx.TextCtrl(id=wxID_FRAME1TC_NUM3_END,
              name=u'tc_num3_end', parent=self.panel1, pos=wx.Point(504, 88),
              size=wx.Size(144, 22), style=0, value=u'')

        self.list = wx.ListCtrl(id=wxID_FRAME1LIST, name=u'list', parent=self,
              pos=wx.Point(0, 184), size=wx.Size(834, 420),
              style=wx.LC_REPORT|wx.LC_HRULES|wx.LC_VRULES)
        self._init_coll_list_Columns(self.list)

        self.toolBar1 = wx.ToolBar(id=wxID_FRAME1TOOLBAR1, name='toolBar1',
              parent=self, pos=wx.Point(0, 0), size=wx.Size(834, 28),
              style=wx.TB_HORIZONTAL | wx.NO_BORDER)

        self.button1 = wx.Button(id=wxID_FRAME1BUTTON1, label=u'\u5f00\u59cb',
              name='button1', parent=self.panel1, pos=wx.Point(712, 24),
              size=wx.Size(75, 24), style=0)

        self.button2 = wx.Button(id=wxID_FRAME1BUTTON2, label=u'\u505c\u6b62',
              name='button2', parent=self.panel1, pos=wx.Point(712, 80),
              size=wx.Size(75, 24), style=0)

        self.staticText3 = wx.StaticText(id=wxID_FRAME1STATICTEXT3,
              label=u'\u6b63\u5728\u67e5\u8be2', name='staticText3',
              parent=self.panel1, pos=wx.Point(384, 128), size=wx.Size(48, 14),
              style=0)

    def __init__(self, parent):
        self.index1 = 0
        self._init_ctrls(parent)

    def OnItemSelecte(self, event):
        event.Skip()

    def OnButton2Button(self, event):
        event.Skip()

    def OnCheckBox2Checkbox(self, event):
        event.Skip()

    def onCB1_click(self, event):
        event.Skip()

    def onCB2_click(self, event):
        event.Skip()

    def onCB3_click(self, event):
        event.Skip()

    def OnBtn_resetButton(self, event):
        print ""
        event.Skip()

    def OnBtn_startButton(self, event):
        event.Skip()
